﻿<%@ Page Language="c#" ContentType="text/html" ResponseEncoding="utf-8" Async="true" MasterPageFile="~/administration/list_private.master" Inherits="ACM.cmsarea08.Administration.Core.GesMenu" %>
<%@ MasterType VirtualPath="~/administration/list_private.master" %>
<asp:Content ID="PageBody" Runat="server" ContentPlaceHolderID="MasterBody">
<h1><img src="../template/admimg/menuconf_big.jpg" alt="Menu Manager" />Gestione Menu</h1>
<div id="filter" style="display:none;">
	<asp:DropDownList ID="dropmenu" runat="server"></asp:DropDownList>
	<asp:Button id="ref_btn" runat="server" Text=""></asp:Button>
</div>
<br />
<ptl:Itan_DataGrid id="insVoci" runat="Server" Title="notitle" ShowTitle="true" autogeneratecolumns="false" ExtendedPager="true" PageNum="1" CurrentPage="1" SelectColumn="true" SelectColumnField="id" CheckingColumn="false" EOrdinabile="false" CssClass="DGridClass"  JavascriptSort="false"  >
<alternatingitemstyle BackColor="#e1e1e1"></alternatingitemstyle>
<columns>
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("menu") %></headertemplate>
    	<itemtemplate>
        	<%# (Eval("lockid")!=null && Eval("lockid").ToString()!="-1")?"<img border=\"0\" src=\"../template/img/protected1.gif\" alt=\"" + rm.GetString("lockedby") +" "+ Eval("lockedby").ToString() + "\" title=\"" + rm.GetString("lockedby") +" "+ Eval("lockedby").ToString() + "\" />":"" %>
            <a href="edit_menu.aspx?IDM=<%# Eval("id") %>&amp;SNM=<%# Eval("nome_componente") %>" title="<%# rm.GetString("edit_menu") %>">
			<%# Eval("titolo") %></a>
        </itemtemplate>
    </asp:TemplateColumn>
	<asp:TemplateColumn>
    	<headertemplate>Componente</headertemplate>
    	<itemtemplate><%# Eval("nome_componente") %></itemtemplate>
    </asp:TemplateColumn>
    
	<asp:TemplateColumn >
    	<headertemplate><acronym title="<%# rm.GetString("enabled_disabled") %>">On/Off</acronym></headertemplate>
    	<itemtemplate>
        	<asp:LinkButton id="enable_me" CssClass="jmscmd" runat="server"></asp:LinkButton>
        </itemtemplate>
    </asp:TemplateColumn>    
	<asp:TemplateColumn ItemStyle-Width="25">
    	<headertemplate>Gestione elementi menu</headertemplate>
    	<itemtemplate>
        	<a title="click here to edit menu items" href="gesmenuitem.aspx?idm=<%# Eval("id") %>"><%# Eval("figli") %></a>
        </itemtemplate>
    </asp:TemplateColumn> 
	<asp:TemplateColumn>
    	<headertemplate>Blocco Visivo</headertemplate>
    	<itemtemplate>
        	<%# Eval("bloccov") %>
        </itemtemplate>
    </asp:TemplateColumn>
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("last_edit") %></headertemplate>
    	<itemtemplate>
        	<%# Eval("data_mod") %>
        </itemtemplate>
    </asp:TemplateColumn>          
</columns>
</ptl:itan_datagrid>



</asp:content>